package ru.nsu.fit.shared.questions_stat_request;

import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: vtimofeev
 * Date: 12/23/12
 * Time: 10:02 PM
 * To change this template use File | Settings | File Templates.
 */
public class QuestionStatDB {
    public final int id;
    public final int author_id;
    public final String questionText;
    public final int lifetime;
    public final int income;
    public final ArrayList<Integer> answerIds;
    public final ArrayList<Integer> answerHits;
    public final ArrayList<String> answers;

    public QuestionStatDB(int id, int author_id, String questionText,
                          int lifetime, int income, ArrayList<String> answers,
                          ArrayList<Integer> answerIds, ArrayList<Integer> answerHits) {
        this.id = id;
        this.author_id = author_id;
        this.questionText = questionText;
        this.lifetime = lifetime;
        this.income = income;
        this.answers = answers;
        this.answerIds = answerIds;
        this.answerHits = answerHits;
    }
}
